#ifndef _GLOBAL_H_
#define _GLOBAL_H_

using size_type = long long;

// #define uint64_t unsigned long long
using __int64 = unsigned long long; // 未知类型，暂时用这个代替
namespace ib
{
    using size_t = size_type;

    /**
     * @brief
     * size sizeof(T)
     * @tparam T
     */
    template <typename T>
    class MemBuf
    {
    public:
        struct buffer
        {
            T val_0x0;
        };
        alignas(__alignof__(T)) unsigned char buff_0x0[sizeof(T)]; // 按存储对象字节对齐
    };

}

#endif
